-- bank
-- created by huanghr
-- 地牢格子：水晶结界

return {
    restoreGrid = function(grid, info)
        -- 还原是否激活
        if info["actived"] == true then
            grid.actived = info["actived"];
        else
            grid.actived = false;
        end
    end,

    collectContext = function(grid)
        -- 收集激活信息
        return { ["actived"] = grid.actived, }
    end
};